<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="MenuTable">

    <div class="layui-card-body">

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('支付宝账号')}</label>
            <div class="layui-input-block">
                <input disabled value='{$show.alipay_account|default=""}' class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('支付宝实名')}</label>
            <div class="layui-input-block">
                <input disabled value='{$show.alipay_real_name|default=""}' class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('可提现金额')}</label>
            <div class="layui-input-block">
                <input disabled value='{$show.withdrawal_amount|default=""}' class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('提现金额')}</label>
            <div class="layui-input-block">
                <input type="number" max="{$show.withdrawal_amount}" name="withdrawal_amount" placeholder="请输入提现金额，最多可提{$show.withdrawal_amount}" value="" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('转账凭证')}</label>
            <div class="layui-input-block">
                <input type="hidden" data-cut-width="500" data-cut-height="500" data-max-width="500" data-max-height="500" name="pic" value="">
                <script>$('[name=pic]').uploadOneImage();</script>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:lang('备注')}</label>
            <div class="layui-input-block">
                <input name="remark" placeholder="请输入备注" value="" class="layui-input">
            </div>
        </div>

    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='$show.merchant_id'}<input type='hidden' value='{$show.merchant_id}' name='merchant_id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>{:lang('保存数据')}</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="{:lang('确定要取消编辑吗？')}" data-close>{:lang('取消编辑')}</button>
    </div>
</form>